import Layout from '@/components/layout/Layout.vue'

export default {
  path: '/baseBusiness',
  name: 'baseBusiness',
  component: Layout,
  redirect: '/baseBusiness/organization',
  meta: { title: '综治基础业务', requireAuth: true },
  children: [
    {
      path: 'organization',
      name: 'organization',
      component: () => import(/* webpackChunkName: "basicBsPartOne" */ '@/views/baseBusiness/organization/Organization'),
      redirect: '/baseBusiness/organization/defaultOrg',
      meta: { title: '综治组织' },
      children: [
        {
          path: 'defaultOrg',
          name: 'defaultOrg',
          component: () => import(/* webpackChunkName: "basicBsPartOne" */ '@/views/baseBusiness/organization/defaultOrg/DefaultOrg'),
          meta: { title: '综治机构', requireAuth: true }
        },
        {
          path: 'comprehensiveTeam',
          name: 'comprehensiveTeam',
          component: () => import(/* webpackChunkName: "basicBsPartOne" */ '@/views/baseBusiness/organization/comprehensiveTeam/ComprehensiveTeam'),
          meta: { title: '综治队伍', requireAuth: true }
        },
        {
          path: 'massPreventionOrg',
          name: 'massPreventionOrg',
          component: () => import(/* webpackChunkName: "basicBsPartOne" */ '@/views/baseBusiness/organization/massPreventionOrg/MassPreventionOrg'),
          meta: { title: '群防群治组织', requireAuth: true }
        },
        {
          path: 'massPreventionTeam',
          name: 'massPreventionTeam',
          component: () => import(/* webpackChunkName: "basicBsPartOne" */ '@/views/baseBusiness/organization/massPreventionTeam/MassPreventionTeam'),
          meta: { title: '群防群治队伍', requireAuth: true }
        },
        {
          path: 'comprehensiveCenter',
          name: 'comprehensiveCenter',
          component: () => import(/* webpackChunkName: "basicBsPartOne" */ '@/views/baseBusiness/organization/comprehensiveCenter/ComprehensiveCenter'),
          meta: { title: '综治中心', requireAuth: true }
        },
        {
          path: 'videoNetworkCenter',
          name: 'videoNetworkCenter',
          component: () => import(/* webpackChunkName: "basicBsPartOne" */ '@/views/baseBusiness/organization/videoNetworkCenter/VideoNetworkCenter'),
          meta: { title: '综治视联网信息中心', requireAuth: true }
        },
        {
          path: 'griddingBuild',
          name: 'griddingBuild',
          component: () => import(/* webpackChunkName: "basicBsPartOne" */ '@/views/baseBusiness/organization/griddingBuild/GriddingBuild'),
          meta: { title: '网格化建设', requireAuth: true }
        },
        {
          path: 'buildingLeader',
          name: 'buildingLeader',
          component: () => import(/* webpackChunkName: "basicBsPartOne" */ '@/views/baseBusiness/organization/buildingLeader/BuildingLeader'),
          meta: { title: '楼栋长', requireAuth: true }
        },
        {
          path: 'leaderAccountability',
          name: 'leaderAccountability',
          component: () => import(/* webpackChunkName: "basicBsPartOne" */ '@/views/baseBusiness/organization/leaderAccountability/LeaderAccountability'),
          meta: { title: '综治领导责任制', requireAuth: true }
        },
        {
          path: 'majorCases',
          name: 'majorCases',
          component: () => import(/* webpackChunkName: "basicBsPartOne" */ '@/views/baseBusiness/organization/majorCases/MajorCases'),
          meta: { title: '重特大案（事）件', requireAuth: true }
        }
      ]
    },
    {
      path: 'realPopulation',
      name: 'realPopulation',
      component: () => import(/* webpackChunkName: "basicBsPartOne" */ '@/views/baseBusiness/realPopulation/RealPopulation'),
      redirect: '/baseBusiness/realPopulation/totalPopulation',
      meta: { title: '实有人口', requireAuth: true },
      children: [
        {
          path: 'totalPopulation',
          name: 'totalPopulation',
          component: () => import(/* webpackChunkName: "basicBsPartOne" */ '@/views/baseBusiness/realPopulation/totalPopulation/TotalPopulation'),
          meta: { title: '全部人口', requireAuth: true }
        },
        {
          path: 'housePopulation',
          name: 'housePopulation',
          component: () => import(/* webpackChunkName: "basicBsPartOne" */ '@/views/baseBusiness/realPopulation/housePopulation/HousePopulation'),
          meta: { title: '户籍人口', requireAuth: true }
        },
        {
          path: 'floatPopulation',
          name: 'floatPopulation',
          component: () => import(/* webpackChunkName: "basicBsPartOne" */ '@/views/baseBusiness/realPopulation/floatPopulation/FloatPopulation'),
          meta: { title: '流动人口', requireAuth: true }
        },
        {
          path: 'stayPopulation',
          name: 'stayPopulation',
          component: () => import(/* webpackChunkName: "basicBsPartOne" */ '@/views/baseBusiness/realPopulation/stayPopulation/StayPopulation'),
          meta: { title: '留守人员', requireAuth: true }
        },
        {
          path: 'foreignPopulation',
          name: 'foreignPopulation',
          component: () => import(/* webpackChunkName: "basicBsPartOne" */ '@/views/baseBusiness/realPopulation/foreignPopulation/ForeignPopulation'),
          meta: { title: '境外人口', requireAuth: true }
        },
        {
          path: 'housingManagement',
          name: 'housingManagement',
          component: () => import(/* webpackChunkName: "basicBsPartOne" */ '@/views/baseBusiness/realPopulation/housingManagement/HousingManagement'),
          meta: { title: '房屋管理', requireAuth: true }
        }
      ]
    },
    {
      path: 'specialPopulation',
      name: 'specialPopulation',
      component: () => import(/* webpackChunkName: "basicBsPartTwo" */ '@/views/baseBusiness/specialPopulation/SpecialPopulation'),
      redirect: '/baseBusiness/specialPopulation/allPersonnel',
      meta: { title: '特殊人群', requireAuth: true },
      children: [
        {
          path: 'allPersonnel',
          name: 'allPersonnel',
          component: () => import(/* webpackChunkName: "basicBsPartTwo" */ '@/views/baseBusiness/specialPopulation/allPersonnel/AllPersonnel'),
          meta: { title: '全部人员', requireAuth: true }
        },
        {
          path: 'releasedPerson',
          name: 'releasedPerson',
          component: () => import(/* webpackChunkName: "basicBsPartTwo" */ '@/views/baseBusiness/specialPopulation/releasedPerson/ReleasedPerson'),
          meta: { title: '刑满释放人员', requireAuth: true }
        },
        {
          path: 'correctivePerson',
          name: 'correctivePerson',
          component: () => import(/* webpackChunkName: "basicBsPartTwo" */ '@/views/baseBusiness/specialPopulation/correctivePerson/CorrectivePerson'),
          meta: { title: '社区矫正人员', requireAuth: true }
        },
        {
          path: 'mentallyIllPerson',
          name: 'mentallyIllPerson',
          component: () => import(/* webpackChunkName: "basicBsPartTwo" */ '@/views/baseBusiness/specialPopulation/mentallyIllPerson/MentallyIllPerson'),
          meta: { title: '肇事肇祸等严重精神障碍者', requireAuth: true }
        },
        {
          path: 'drugPerson',
          name: 'drugPerson',
          component: () => import(/* webpackChunkName: "basicBsPartTwo" */ '@/views/baseBusiness/specialPopulation/drugPerson/DrugPerson'),
          meta: { title: '吸毒人员', requireAuth: true }
        },
        {
          path: 'aidsPatients',
          name: 'aidsPatients',
          component: () => import(/* webpackChunkName: "basicBsPartTwo" */ '@/views/baseBusiness/specialPopulation/aidsPatients/AidsPatients'),
          meta: { title: '艾滋病危险人员', requireAuth: true }
        }
      ]
    },
    {
      path: 'keyYouth',
      name: 'keyYouth',
      component: () => import(/* webpackChunkName: "basicBsPartTwo" */ '@/views/baseBusiness/keyYouth/KeyYouth'),
      redirect: '/baseBusiness/keyYouth/teenagers',
      meta: { title: '重点青少年', requireAuth: true },
      children: [
        {
          path: 'teenagers',
          name: 'teenagers',
          component: () => import(/* webpackChunkName: "basicBsPartTwo" */ '@/views/baseBusiness/keyYouth/teenagers/Teenagers'),
          meta: { title: '', requireAuth: true }
        }
      ]
    },
    {
      path: 'twoNewOrgs',
      name: 'twoNewOrgs',
      component: () => import(/* webpackChunkName: "basicBsPartThree" */ '@/views/baseBusiness/twoNewOrgs/TwoNewOrgs'),
      redirect: '/baseBusiness/twoNewOrgs/newEconomicOrg',
      meta: { title: '两新组织', requireAuth: true },
      children: [
        {
          path: 'newEconomicOrg',
          name: 'newEconomicOrg',
          component: () => import(/* webpackChunkName: "basicBsPartThree" */ '@/views/baseBusiness/twoNewOrgs/newEconomicOrg/NewEconomicOrg'),
          meta: { title: '新经济组织', requireAuth: true }
        },
        {
          path: 'socialOrg',
          name: 'socialOrg',
          component: () => import(/* webpackChunkName: "basicBsPartThree" */ '@/views/baseBusiness/twoNewOrgs/socialOrg/SocialOrg'),
          meta: { title: '社会组织', requireAuth: true }
        }
      ]
    },
    {
      path: 'socialSecurity',
      name: 'socialSecurity',
      component: () => import(/* webpackChunkName: "basicBsPartThree" */ '@/views/baseBusiness/socialSecurity/SocialSecurity'),
      redirect: '/baseBusiness/socialSecurity/keyAreaGovern',
      meta: { title: '社会治安', requireAuth: true },
      children: [
        {
          path: 'keyAreaGovern',
          name: 'keyAreaGovern',
          component: () => import(/* webpackChunkName: "basicBsPartThree" */ '@/views/baseBusiness/socialSecurity/keyAreaGovern/KeyAreaGovern'),
          meta: { title: '重点地区排查整治', requireAuth: true }
        },
        {
          path: 'homicideCase',
          name: 'homicideCase',
          component: () => import(/* webpackChunkName: "basicBsPartThree" */ '@/views/baseBusiness/socialSecurity/homicideCase/HomicideCase'),
          meta: { title: '命案基本信息', requireAuth: true }
        },
        {
          path: 'suspectAndVictim',
          name: 'suspectAndVictim',
          component: () => import(/* webpackChunkName: "basicBsPartThree" */ '@/views/baseBusiness/socialSecurity/suspectAndVictim/SuspectAndVictim'),
          meta: { title: '命案犯罪嫌疑人受害人', requireAuth: true }
        },
        {
          path: 'logisticsSafety',
          name: 'logisticsSafety',
          component: () => import(/* webpackChunkName: "basicBsPartThree" */ '@/views/baseBusiness/socialSecurity/logisticsSafety/LogisticsSafety'),
          meta: { title: '寄递物流安全管理', requireAuth: true }
        }
      ]
    },
    {
      path: 'conflictDispute',
      name: 'conflictDispute',
      component: () => import(/* webpackChunkName: "basicBsPartThree" */ '@/views/baseBusiness/conflictDispute/ConflictDispute'),
      redirect: '/baseBusiness/conflictDispute/allIncident',
      meta: { title: '矛盾纠纷', requireAuth: true },
      children: [
        {
          path: 'allIncident',
          name: 'allIncident',
          component: () => import(/* webpackChunkName: "basicBsPartThree" */ '@/views/baseBusiness/conflictDispute/allIncident/AllIncident'),
          meta: { title: '全部事件', requireAuth: true }
        }
      ]
    },
    {
      path: 'schoolYardSafety',
      name: 'schoolYardSafety',
      component: () => import(/* webpackChunkName: "basicBsPartThree" */ '@/views/baseBusiness/schoolYardSafety/SchoolYardSafety'),
      redirect: '/baseBusiness/schoolYardSafety/school',
      meta: { title: '校园及周边安全', requireAuth: true },
      children: [
        {
          path: 'school',
          name: 'school',
          component: () => import(/* webpackChunkName: "basicBsPartThree" */ '@/views/baseBusiness/schoolYardSafety/school/School'),
          meta: { title: '学校', requireAuth: true }
        },
        {
          path: 'schoolKeyPerson',
          name: 'schoolKeyPerson',
          component: () => import(/* webpackChunkName: "basicBsPartThree" */ '@/views/baseBusiness/schoolYardSafety/schoolKeyPerson/SchoolKeyPerson'),
          meta: { title: '学校周边重点人员', requireAuth: true }
        },
        {
          path: 'securityEvent',
          name: 'securityEvent',
          component: () => import(/* webpackChunkName: "basicBsPartThree" */ '@/views/baseBusiness/schoolYardSafety/securityEvent/SecurityEvent'),
          meta: { title: '涉及师生安全案（事）件', requireAuth: true }
        }
      ]
    },
    {
      path: 'lineProtection',
      name: 'lineProtection',
      component: () => import(/* webpackChunkName: "basicBsPartThree" */ '@/views/baseBusiness/lineProtection/LineProtection'),
      redirect: '/baseBusiness/lineProtection/allLine',
      meta: { title: '护路护线', requireAuth: true },
      children: [
        {
          path: 'allLine',
          name: 'allLine',
          component: () => import(/* webpackChunkName: "basicBsPartThree" */ '@/views/baseBusiness/lineProtection/allLine/AllLine'),
          meta: { title: '全部线路', requireAuth: true }
        },
        {
          path: 'lineEvent',
          name: 'lineEvent',
          component: () => import(/* webpackChunkName: "basicBsPartThree" */ '@/views/baseBusiness/lineProtection/lineEvent/LineEvent'),
          meta: { title: '涉及线路安全案（事）件', requireAuth: true }
        }
      ]
    }
  ]
}
